package com.project.security.dao;

import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.project.security.model.Actor;

public class ActorDao extends SqlSessionDaoSupport implements ActorMapper{

	@Override
	public List<Actor> queryAllActor() {
		return getSqlSession().selectList("roler_queryAllActor");
	}

	@Override
	public Actor queryByActor(String actor) {
		return getSqlSession().selectOne("actor_queryByActor", actor);
	}
	
}
